#include <iostream>
#include <stdio.h>
#include <string.h>
//#include <math.h>
using namespace std;

int main()
{
    int a,b,c,d, mm;
    d=168;
    
    while (cin >> a >> b >> c)
    {
        if (d<a && d<b && d < c)
        	printf("NO CRASH\n");
       	else 
       	{
       	    mm = a;
       	    if (mm>b ) mm= b;
       	    if (mm>c ) mm= c;
       	    printf("CRASH %d\n",mm); 
       	}    
    }    

    
    return 0;
}    


